package com.sdy.hospitalguard.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.common.model.BizException;
import com.sdy.hospitalguard.biz.dto.ManagerDto;
import com.sdy.hospitalguard.biz.model.Manager;
import com.sdy.mvc.service.BaseService;

/**
 * <p>
 * 后台用户表:manager 服务类
 * </p>
 *
 * @author zzq
 * @since 2020-05-08
 */
public interface ManagerService extends BaseService<Manager> {

    Manager getByPhone(String phone);

    Boolean saveOne(ManagerDto managerDto);

    Boolean updStaById(Integer id, Integer state) throws BizException;

    Page pageManager(Page page, String nameAndPhone, Integer inpatientAreaId);

}
